import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/biz/video/` + url, ...arg)

/**
 * 视频监控
 *
 * @author kongxm
 * @date  2022/11/12 22:02
 **/
export default {
	// 获取柜子信息分页
	bizQueryCameraList(data) {
		return request('code/list', data, 'get')
	},
	// 获取柜子信息列表
	bizQueryLiveStreamUrl(data) {
		return request('live/stream', data, 'get')
	},
	// 获取事件视频流
	bizQueryEventStreamUrl(data) {
		return request('event/stream', data, 'get')
	}
}
